<template>
	<view class="uni_box home">
		<navbar title='源码详情'>
		</navbar>
		<view class="content">
			<view class="wrap">
				<u-swiper :list="swlist" border-radius="0" height="700" mode="dot"></u-swiper>
			</view>
			<view class="dtwo">
				<text class="dname">应用开发thinkphp后台代码修改thinkphp二uniapp代码修改!</text>
				<view class="dfen">
					<text class="dfenitem">Uni</text>
					<text class="dfenitem">Php</text>
				</view>
				<view class="dfen">
					<image class="gone" src="/static/gone.png" mode="wdithFix" />
					<image class="gone" src="/static/gtwo.png" mode="wdithFix" />
					<image class="gone" src="/static/gthree.png" mode="wdithFix" />
					<image class="gone" src="/static/gfour.png" mode="wdithFix" />
				</view>
				<!-- <view class="dfen">
					<text class="dmiao">自动发货商品，拍下后系统会自动发送商品发货 (下载)链接零等待。</text>
				</view> -->
			</view>
			<view class="zhanwei"></view>
			<view class="dthree">
				<text class="sname">商品属性</text>
				<view class="slist">
					<view class="sitem">
						<text class="ziname">系统名称</text>
						<text class="zval">其他</text>
					</view>
					<view class="sitem">
						<text class="ziname">演示网站</text>
						<text class="zval cha">查看</text>
					</view>
					<view class="sitem">
						<text class="ziname">开发语言</text>
						<text class="zval">php</text>
					</view>
					<view class="sitem">
						<text class="ziname">安装服务</text>
						<text class="zval">免费【要求说明】</text>
					</view>
					<view class="sitem">
						<text class="ziname">数据库</text>
						<text class="zval">MYSQL</text>
					</view>
					<view class="sitem">
						<text class="ziname">源码大小</text>
						<text class="zval">78MB</text>
					</view>
				</view>
			</view>
			<view class="zhanwei"></view>
			<view class="dfour">
				<image class="tou" src="/static/CJYM_png.png" mode="" />
				<view class="dfnav">
					<text class="dfname">Lakala</text>
					<text class="dfmiao">ID:248868</text>
				</view>
				<view class="dfright">
					<text>查看主页</text>
					<image class="icon_next" src="/static/icon_next.png" mode="" />
				</view>
			</view>
			<view class="zhanwei"></view>
			<view class="dfive">
				<view>
					<u-tabs :list="tablist" :is-scroll="false" :current="current" @change="change" :active-color="Themecolor" inactive-color="#999999"></u-tabs>
				</view>
				<view class="dcont">
					系统: PbootCMS
授权:需要授权，授权免费，可商用语言程序: PHP 5.2+ SQLite前端规范: html+css+jQuery设备支持:PC端+手机端浏览器支持:兼容IE7+、Firefox、Chrome、360浏览器等主流浏览器程序运行环境: linux+nginx/ linux+apache /windows + iis(支持php5.3+)(自适应手机端)pbootcms零食食品网站模板下载PbootCMS内核开发的网站模板，该模板适用于零食网站、食品网站等企业，当然其他行业也可以做，只需要把文字图片换成其他行业的即可;自适应手机端，同一个后台，数据即时同步，简单适用!附带测试数据!
				</view>
			</view>
		</view>
		<view class="botview">
			<view class="botleft">
				<image class="icon_fenxiang" src="/static/icon_fenxiang.png" mode="" />
				<text>分享</text>
			</view>
			<view class="lianxi" :style="{
				background:Themecolor
			}">
				联系客服
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				swlist: [{
						image: '/static/banner.png',
					},
					{
						image: '/static/banner.png',
					},
					{
						image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
					}
				],
				tablist: [{
					name: '商品详情'
				}, {
					name: '视频'
				}, {
					name: '交易规则'
				}],
				current: 0
			}
		},
		onLoad() {
			console.log(this.Themecolor)
			
		},
		onShow() {
		},
		methods: {
			change(index) {
				this.current = index;
			}
		}
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #fff;
	}
	.content{
		background-color: #fff;
		padding-bottom: 150rpx;
		.dtwo{
			padding: 30rpx;
		}
		.dname{
			font-size: 34rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #333333;
		}
		.dfen{
			display: flex;
			flex-direction: row;
			align-items: center;
			margin: 20rpx 0 0;
			.dfenitem{
				padding: 8rpx 20rpx;
				background: #EEEEEE;
				border-radius: 4rpx;
				margin-right: 20rpx;
				font-size: 20rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #51565D;
			}
			.gone{
				height: 26rpx;
				margin-right: 20rpx;
				width: 108rpx;
			}
			.dmiao{
				font-size: 26rpx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #999999;
			}
		}
		.dthree{
			display: flex;
			flex-direction: column;
			padding: 30rpx;
			.sname{
				font-size: 34rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #333333;
				display: block;
				margin-bottom: 30rpx;
			}
			.slist{
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				.sitem{
					width: 50%;
					margin-bottom: 20rpx;
					display: flex;
					flex-direction: row;
					align-items: center;
					.ziname{
						font-size: 24rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #999999;
						min-width: 90rpx;
					}
					.zval{
						font-size: 26rpx;
						font-family: PingFang SC;
						font-weight: 500;
						color: #333333;
						display: inline-block;
						margin-left: 8rpx;
					}
					.cha{
						font-weight: 500;
						color: #42ABDC;
					}
				}
			}
		}

		.dfour{
			padding: 20rpx 30rpx;
			display: flex;
			flex-direction: row;
			align-items: center;
			.tou{
				width: 100rpx;
				height: 100rpx;
				border-radius: 50%;
				margin-right: 20rpx;
			}
			.dfnav{
				width: 60%;
				display: flex;
				flex-direction: column;
				.dfname{
					font-size: 40rpx;
					font-family: PingFang SC;
					font-weight: bold;
					color: #111111;
				}
				.dfmiao{
					font-size: 28rpx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #666666;
				}
			}
			.dfright{
				display: flex;
				margin-left: auto;
				flex-direction: row;
				align-items: center;
				text{
					font-size: 28rpx;
					font-family: PingFang SC;
					font-weight: 500;
					color: #333333;
				}
				.icon_next{
					margin-left: 6rpx;
					width: 24rpx;
					height: 24rpx;
				}
			}
		}
		.dfive{
			padding: 20rpx;
			.dcont{
				padding: 20rpx 0;
				border-top: 1rpx solid #eee;
				font-size: 28rpx;
				font-family: PingFang SC;
				font-weight: 400;
				color: #999999;
			}
		}
		
	}
	.botview{
			height: 120rpx;
			background: #FFFFFF;
			width: 100%;
			position: fixed;
			bottom: 0;
			display: flex;
			flex-direction: row;
			align-items: center;
			z-index: 10;
			border-top: 1rpx solid #eee;
			padding: 0 30rpx 20rpx 0;
			.botleft{
				width: 20%;
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;
				.icon_fenxiang{
					width: 44rpx;
					height: 44rpx;

				}
				text{
					font-size: 18rpx;
					font-family: PingFang SC;
					font-weight: 400;
					color: #333333;
				}
			}
			.lianxi{
				margin-left: auto;
				width: 75%;
				height: 72rpx;
				background: #AC1F33;
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 26rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #FFFFFF;
			}
		}
	.zhanwei{
		height: 20rpx;
		width: 100%;
		background-color: #f6f6f6;
	}
</style>
